lst=['abc','测试','啊啊啊','tttt']
def word_filter(a,k='*'):
    for i in lst:
        if i in a:
            a=a.replace(i,k*len(i))
    return(a)
a=str(input())
print(word_filter(a))
#这里用到了replace概念